generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 83
feat: add IAM credentials authentication #1981
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
liramon1
wants to merge
9
commits into
main
Choose a base branch
from
liramon/flare-iam-base
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #1981 +/- ##
==========================================
+ Coverage 60.99% 61.39% +0.40%
==========================================
Files 239 247 +8
Lines 52533 53743 +1210
Branches 3174 3271 +97
==========================================
+ Hits 32041 32998 +957
- Misses 20431 20682 +251
- Partials 61 63 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
4f5fc2d to
d093e42
Compare
This was referenced Jul 28, 2025
82eeaf9 to
e96e1c1
Compare
776a609 to
8f1c33a
Compare
This was referenced Jul 31, 2025
The identity LSP was changed to load and save IAM profile kinds.
24d84ef to
b62b302
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The identity LSP was changed to load and save IAM profile kinds.
Problem
Flare only provides bare-bones support for IAM credentials. While language clients can provide their IAM credentials to the Flare credentials provider, they must manage IAM credentials themselves. This adds code duplication and complexity to each IDE extension.
Furthermore, the agentic bundle for the CodeWhisperer LSP only supports SSO. If language clients want it to consume IAM credentials, they must start a completely separate bundle which includes the IAM implementation of the CodeWhisperer LSP. This prevents clients from seamlessly switching authentication methods at runtime.
Solution
This feature is split into multiple PRs (in order):
Identity LSP:
CodeWhisperer LSP:
Each PR will be merged into
liramon/flare-iam-base, which will be merged into branchmainat the end.These changes allows the identity LSP to load and save IAM credentials to the shared config, generate temporary credentials from STS AssumeRole, and cache/invalidate/refresh temporary credentials. This PR also contains a refactor of the CodeWhisperer LSP to switch between consuming IAM and bearer credentials at runtime.
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.